package cn.brickie.adapter2;

/***
 * @author Brickie
 * @date 2018/6/8 11:29
 */
public class JapanToChinaAdapter extends Japan implements Adapter {

    private Voltage voltage;

    JapanToChinaAdapter(Voltage voltage) {
        this.voltage = voltage;
    }

    @Override
    public void convert() {
        super.explain();
        System.out.println("----------------Convert-------------------");
        this.voltage.explain();
    }
}
